//
//  SettingView.h
//  Honda
//
//  Created by Xiaolong Zhang on 13-4-23.
//  Copyright (c) 2013年 HeninHoo. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SettingCustomControl.h"

@protocol SettingViewDelegate;
@class LoginViewController;









@interface SettingView : UIView <UITableViewDelegate, UITableViewDataSource, UITextFieldDelegate>

@property (nonatomic, readonly) UIControl* closeCtrl;
@property (nonatomic, readonly) UIImageView* bgView;
@property (nonatomic, readonly) UITableView* carsTableView;
@property (nonatomic, readonly) SettingCustomControl* logoutCtrl;
@property(nonatomic,strong)LoginViewController *logCon;
@property (nonatomic, readonly) SettingCustomControl* carsDownloadCtrl;
@property (nonatomic, readonly) SettingCustomControl* checkVersonCtrl;
@property (nonatomic, readonly) SettingCustomControl* settingIPCtrl;

@property (nonatomic, readonly) UIImageView* settingLine1;
@property (nonatomic, readonly) UIImageView* settingLine2;
@property (nonatomic, readonly) UIImageView* settingLine3;
@property (nonatomic, readonly) UIImageView* downloadTopLine;

@property (nonatomic, readonly) UILabel* currentVersonLab;
@property (nonatomic, readonly) UILabel* copyrightLab;
@property (nonatomic, readonly) UILabel* supportTelLab;

@property (nonatomic, retain) NSMutableArray* carsArr;

@property (nonatomic, assign) id<SettingViewDelegate> delegate;

- (void)layoutSettingView;

@end

@protocol SettingViewDelegate <NSObject>
- (void)onTapCloseControlSettingView:(SettingView*)settingView;
-(void)iszhuxiao:(NSString*)iszhuxiao;
@end
